package com.ebc.eservice.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.ebc.eservice.pojo.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 名片信息表
 * </p>
 *
 * @author joey
 * @since 2022-09-17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value="EbcCard对象", description="名片信息表")
public class EbcCard{

    @ApiModelProperty(value = "名片id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工id")
    private Integer userId;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ApiModelProperty(value = "部门id")
    private Integer sectorId;

    @ApiModelProperty(value = "部门id")
    private Integer sectorChildId;

    @ApiModelProperty(value = "个人简介")
    private String personalProfile;

    @ApiModelProperty(value = "岗位")
    private String position;

    @ApiModelProperty(value = "公开权限")
    private Integer open;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer del;

//    @TableField(fill = FieldFill.INSERT)
    private Integer createId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


//    @ApiModelProperty(value = "下载次数")
//    private Integer downloadNum;
//
//    @ApiModelProperty(value = "访客量")
//    private Integer visitNum;
//
//    @ApiModelProperty(value = "添加通讯录次数")
//    private Integer contactNum;
//
//    @ApiModelProperty(value = "转发次数")
//    private Integer forwardNum;
//
//    @ApiModelProperty(value = "留言次数")
//    private Integer messageNum;
//
//    @ApiModelProperty(value = "停留时长")
//    private BigDecimal staytime;

}
